package com.kinghunt.misp.common.utils;


import org.apache.shiro.crypto.hash.SimpleHash;

public class PasswordUtils {
    public static String passwordEncoder(String credentials, String salt) {
        Object object = new SimpleHash("MD5", credentials, salt, 3);
        return object.toString();
    }
}
